﻿using Common.Infrastructure;

namespace Base.Data.Entity
{
    public class t_organization: TreeEntityBase
    {
        [EntityFieldLength(30)]
        [EntityFieldIndex]
        public string code { get; set; }

        [EntityFieldLength(60)]
        public string name { get; set; }

        [EntityFieldLength(60)]
        public string api_url { get; set; }

        /// <summary>
        /// 别名编号
        /// </summary>
        [EntityFieldLength(60)]
        public string alias_code { get; set; }
        public int enable_status { get; set; }
        public string remark { get; set; }


        /// <summary>
        /// API的键值
        /// </summary>
        [EntityFieldLength(80)]
        public string api_key { get; set; }

        /// <summary>
        /// QMS系统BU编号
        /// </summary>
        [EntityFieldLength(80)]
        public string qms_bu_code { get; set; }
    }
}
